Limits of real numbers in the binary signed digit representation

نویسندگان

چکیده

We extract verified algorithms for exact real number computation from constructive proofs. To this end we use a coinductive representation of reals as streams binary signed digits. The main objective paper is the formalisation proof that numbers are closed with respect to limits. All proofs theorem and first application implemented in Minlog system extracted terms further translated into Haskell. compare two approaches. approach direct proof. In second make by Cauchy-sequence rationals. Utilizing translations between represenation using completeness Cauchy-reals, very short. both cases Minlog's program extraction mechanism automatically formally transforms converging sequence reals, i.e.~a digits together modulus convergence, digit its limit. correctness follows directly soundness extraction. As Heron's method construct an algorithm computes square roots representation. convergence show under multiplication.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Multiplication of Signed-digit Numbers

A recently proposed technique for common-multiplicand multiplication of binary numbers is shown to be applicable to signed-digit numbers. We prove that multiplication of a single k-bit multiplicand by n k-bit multipliers can be performed using 0:306nk additions for canonically recoded signed-digit numbers, while the binary case requires 0:375nk additions.

متن کامل

Searching Prime Numbers with Short Binary Signed Representation

Modular arithmetic with prime moduli has been crucial in present day cryptography. The primes of Mersenne, Solinas, Crandall and the so called IKE-MODP primes have been widely used in efficient implementations. In this paper we study the density of primes with binary signed representation involving a small number of non-zero ±1-digits, and its repercussion in the generation of those primes.

متن کامل

Counting Prime Numbers with Short Binary Signed Representation

Modular arithmetic with prime moduli has been crucial in present day cryptography. The primes of Mersenne, Solinas, Crandall and the so called IKE-MODP have been extensively used in efficient implementations. In this paper we study the density of primes with binary signed representation involving a small number of non-zero ±1-digits.

متن کامل

On binary signed digit representations of integers

Applications of signed digit representations of an integer include computer arithmetic, cryptography, and digital signal processing. An integer of length n bits can have several binary signed digit (BSD) representations and their number depends on its value and varies with its length. In this paper, we present an algorithm that calculates the exact number of BSD representations of an integer of...

متن کامل

Randomness with Respect to the Signed-Digit Representation

The ordinary notion of algorithmic randomness of reals can be characterised as MartinLöf randomness with respect to the Lebesgue measure or as Kolmogorov randomness with respect to the binary representation. In this paper we study the question how the notion of algorithmic randomness induced by the signed-digit representation of the real numbers is related to the ordinary notion of algorithmic ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Logical Methods in Computer Science

سال: 2022

ISSN: ['1860-5974']

DOI: https://doi.org/10.46298/lmcs-18(3:24)2022